let c = {};
const controls = require.context('./leftpanel_controlinstance', true, /\.js$/);
for (let key of controls.keys()) {
  const filename = key.split('/').pop().replace(/\.\w+$/, '');
  c[filename] = controls(key).default;
}

export const xcchart_groups = [{
    title: '图表',
    list: [
      c.xcchart_controlinstance_bar,
      c.xcchart_controlinstance_pie,
      c.xcchart_controlinstance_digital,
    ]
  },
];
